Splitter

Section: ET++ class description (n)
Updated: automatically Fri Mar 15 14:12:37 1991
Index Return to Main Contents
 

NAME

Splitter - splits a View in up to four panes  

DESCRIPTION

A Splitter is able to split a View in up to four panes that show disconnected portions of the View and can be scrolled independently. The View is simultaneously installed in four Scrollers whose size can be changed by moving the splitbars.
The installed VObject must be a View because only the class View implements the functionality to be displayed in more than one Clipper.
Splitters can be used, for example, when the initial window layout is created:
Window *MyDocument::DoMakeWindows()
{
    View *myView = new MyView(/* ... */);
    return new Window(this, Point(400), eWinDefault,
               new Splitter(myView));
}

See also class Clipper and class Scroller.


classes are rarely derived from Splitter.
class Splitter is often reused directly.
class Splitter contains 12 methods.

owner of class:
nobody.
baseclasses:
CompositeVObject
flags:
CompositeVObjectFlags

 

INSTANCE VARIABLES

ms (private Point)
the minimum size for each of the four Clippers

split (private Point)
contains the position of the horizontal and vertical split bars. If the x or y component is negative, then the View is currently not split in the respective direction.

vop (private VObject *)
the shown View. It must be an instance of the class View because only View implements the behavior to be displayed in more than one Clipper.

 

INSTANCE METHOD LIST

client interface
Splitter

implementation
Control
GetMinSize
Init
Open
PrintOn
ReadFrom
SendDown
SetExtent
SetOrigin
SetSplit
TestOpen

 

CATEGORIES

VObject Composition

 

FILES

declaration:
Splitter.h

 

HISTORY

joe@csesbg.at  Tue Sep 03 17:58 1991

man2html: unable to open or read file ../mann/Splitter::Control.n
man2html: unable to open or read file ../mann/Splitter::GetMinSize.n
man2html: unable to open or read file ../mann/Splitter::Init.n
man2html: unable to open or read file ../mann/Splitter::Open.n
man2html: unable to open or read file ../mann/Splitter::PrintOn.n
man2html: unable to open or read file ../mann/Splitter::ReadFrom.n
man2html: unable to open or read file ../mann/Splitter::SendDown.n
man2html: unable to open or read file ../mann/Splitter::SetExtent.n
man2html: unable to open or read file ../mann/Splitter::SetOrigin.n
man2html: unable to open or read file ../mann/Splitter::SetSplit.n
man2html: unable to open or read file ../mann/Splitter::Splitter.n
man2html: unable to open or read file ../mann/Splitter::TestOpen.n


 

Index

NAME
DESCRIPTION
INSTANCE VARIABLES
INSTANCE METHOD LIST
CATEGORIES
FILES
HISTORY

This document was created by man2html, using the manual pages.
Time: 00:40:23 GMT, March 30, 2022